package com.arpa.wms.domain.dto;


import com.arpa.wms.domain.entity.BasicEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Set;

/**
 * <p>
 * 移位明细DTO
 * </p>
 *
 * @author LEO
 * @since 2020-08-24
 */
@Data
@ApiModel(value="MoveRegisterDTO对象", description="移位明细登记")
public class MoveRegisterDTO extends BasicEntity {


    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "所属机构")
    private String groupCode;

    @ApiModelProperty(value = "移位单号")
    private String moveCode;

    @ApiModelProperty(value = "移位明细单号")
    private String moveItemCode;

    @ApiModelProperty(value = "库存标识")
    private String inventoryCode;

    @ApiModelProperty(value = "商品编码")
    private String goodsCode;

    @ApiModelProperty(value = "pn码查询到的商品编码集合")
    private Set<String> goodsCodes;

    @ApiModelProperty(value = "商品业务编码")
    private String goodCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "货主编码")
    private String shipmentCode;

    @ApiModelProperty(value = "商品条码")
    private String goodsBarCode;

    @ApiModelProperty(value = "单位")
    private String goodsUnit;

    @ApiModelProperty(value = "生产日期")
    private LocalDateTime gmtManufacture;

    @ApiModelProperty(value = "过期日期")
    private LocalDateTime gmtExpire;

    @ApiModelProperty(value = "存货日期")
    private LocalDateTime gmtStock;

    @ApiModelProperty(value = "批次号")
    private String lot;

    @ApiModelProperty(value = "收货批次号")
    private String receiveLot;

    @ApiModelProperty(value = "锁定状态")
    private Integer isLock;

    @ApiModelProperty(value = "移位确认单状态")
    private String status;

    @ApiModelProperty(value = "库存状态")
    private String goodsStatus;

    @ApiModelProperty(value = "库存状态")
    private String goodsStatusName;

    @ApiModelProperty(value = "移位数量")
    private BigDecimal moveQuantity;

    @ApiModelProperty(value = "需要移位的数量")
    private BigDecimal needQuantity;

    @ApiModelProperty(value = "已移位数量")
    private BigDecimal movedQuantity;

    @ApiModelProperty(value = "库位")
    private String location;

    @ApiModelProperty(value = "移入库位")
    private String targetLocation;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "任务编号")
    private String taskCode;

    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "来源")
    private Integer source;

    @ApiModelProperty(value = "来源类型，1-pda，2-pc")
    private Integer sourceType;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

    @ApiModelProperty(value = "容器号")
    private String containerBarCode;

    @ApiModelProperty(value = "是否可编辑，0-是，1-否")
    private Integer edit;
}
